import service from '@/utils/request'

// @Tags LargeScaleOrderEyespleen
// @Summary 创建大办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderEyespleen true "创建大办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderEyespleen/createLargeScaleOrderEyespleen [post]
export const createLargeScaleOrderEyespleen = (data) => {
  return service({
    url: '/largeScaleOrderEyespleen/createLargeScaleOrderEyespleen',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderEyespleen
// @Summary 删除大办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderEyespleen true "删除大办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderEyespleen/deleteLargeScaleOrderEyespleen [delete]
export const deleteLargeScaleOrderEyespleen = (params) => {
  return service({
    url: '/largeScaleOrderEyespleen/deleteLargeScaleOrderEyespleen',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderEyespleen
// @Summary 批量删除大办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderEyespleen/deleteLargeScaleOrderEyespleen [delete]
export const deleteLargeScaleOrderEyespleenByIds = (params) => {
  return service({
    url: '/largeScaleOrderEyespleen/deleteLargeScaleOrderEyespleenByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderEyespleen
// @Summary 更新大办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderEyespleen true "更新大办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderEyespleen/updateLargeScaleOrderEyespleen [put]
export const updateLargeScaleOrderEyespleen = (data) => {
  return service({
    url: '/largeScaleOrderEyespleen/updateLargeScaleOrderEyespleen',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderEyespleen
// @Summary 用id查询大办单-眼型脾型
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderEyespleen true "用id查询大办单-眼型脾型"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderEyespleen/findLargeScaleOrderEyespleen [get]
export const findLargeScaleOrderEyespleen = (params) => {
  return service({
    url: '/largeScaleOrderEyespleen/findLargeScaleOrderEyespleen',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderEyespleen
// @Summary 分页获取大办单-眼型脾型列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单-眼型脾型列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderEyespleen/getLargeScaleOrderEyespleenList [get]
export const getLargeScaleOrderEyespleenList = (params) => {
  return service({
    url: '/largeScaleOrderEyespleen/getLargeScaleOrderEyespleenList',
    method: 'get',
    params
  })
}
